<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>图书管理系统</title>
    <link rel="stylesheet" href="{{asset('/layui-v2.5.6/layui/css/layui.css')}}">
</head>
<style>
    #body{
        height: 200px;
        background-image: linear-gradient(to top right, #2351ff, #1affc0);
    }
</style>
<body id="body">
    <div class="layui-col-md12">
        <div style="margin-top: 260px"></div>
        <div class="layui-col-md4" style="height: 10px"></div>
        <div style="text-align: center;" class="layui-col-md4">
            <div class="layui-card">
                <div class="layui-card-body">
                    <h1 style="color: #4b4b4b;margin-top:20px;margin-bottom: 50px">登录</h1>
                    <form class="layui-form" method="post" action="_login">
                        {{ csrf_field() }}
                        <input type="tel" name="phone" lay-verify="required|phone" lay-verType="tips" placeholder="请输入手机号" autocomplete="off" class="layui-input" ><br>
                        <input type="password" name="password" lay-verify="required|pass" lay-verType="tips" placeholder="请输入密码" autocomplete="off" class="layui-input" ><br>
                        <button type="submit" lay-submit="submit" class="layui-btn layui-btn-fluid" style="margin-bottom: 5px">登录</button><br>
                        <a href="/register" class="layui-btn layui-btn-fluid layui-btn-primary">去注册</a>
                    </form>
                </div>
            </div>
        </div>
        <div class="layui-col-md4"  style="height: 10px"></div>
    </div>
<script src="{{asset('/layui-v2.5.6/layui/layui.js')}}"></script>
<script>
    layui.use(['layer', 'form'], function(){
        var layer = layui.layer
            ,form = layui.form;
    });
</script>
</body>
</html>